package cn.yyt.yytravel.community.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Community {
    @ApiModelProperty(value = "Id")
    Long id;
    @ApiModelProperty(value = "用户Id")
    Long userId;
    @ApiModelProperty(value = "景区Id")
    Long sceneId;
    @ApiModelProperty(value = "group内容")
    String content;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "图片路径")
    String imgUrls;
    @ApiModelProperty(value = "评分")
    String score;
}
